Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Z 2023 02 11 medoc contest #2

Open
wants to merge 11 commits into
base: gcos4gnucobol-3.x
Choose a base branch
from

Conversation

lefessan
Copy link
Owner

No description provided.

lefessan and others added 2 commits February 11, 2023 21:00
…ls (OCamlPro#8)

* Support EBCDIC symbolic characters in alphanumeric literals

* Do not error upon symbolic EBCDIC characters in literals for non-GCOS dialects

* Decode EBCDIC character using machine character set

[GCOS] fix EBCDIC symbolic-chars as ordinals (1..256 instead of 0..255)

[GCOS] New test for EBCDIC symbolic-chars, and fix doc for related option

[GCOS] Substitute `ebcdic-symbolic-characters` for `gcos-ebcdic-literals`

Drop an unused warning in `cobc/scanner.l`

[GCOS] Warn when EBCDIC symbolic character strings comprise extraneous separators

Better test for symbolic EBCDIC characters; and fix ChangeLogs

Honor -febcdic-table when decoding symbolic EBCDIC characters

Fix in PR27 for new ebcdic-table options

PR27 use symbolic enums
@lefessan lefessan force-pushed the z-2023-02-11-medoc-contest branch 2 times, most recently from c1c5c8e to d9a8b02 Compare February 19, 2023 20:22
nberth and others added 9 commits February 19, 2023 21:24
Current implementation does not conform to standard (COPY REPLACING
and REPLACE are supposed to be in two successive passes instead of
applied together), and has various bugs.

This version is probably less efficient, but better conforms to the
standard.

Limitations:

* This first version only modify the replacements during
  preprocessing, not the ones during the listing printing.

* Since REPLACE are interpreted *before* the COPY REPLACING, they
  cannot be modified by them. A conforming implementation would
  interpret REPLACE strictly after COPY REPLACING.
  0106              MOVE CLE(1)               TO CLE(2)
  0107              CALL "FLXDBO" USING LECSG ERREUR DEC(2) PDF-DBO-ART
  0108 >            IF ERREUR-NIV ZERO AND CLE2-4(1) = "PDF"
  0109                 MOVE PDF-DBO-INF(1:LGR-PDF)         TO PDF
  0110                 IF COD-PDF = PDF-NUMERO-ETAT
@lefessan lefessan force-pushed the z-2023-02-11-medoc-contest branch from d9a8b02 to 9b91497 Compare February 19, 2023 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants